package lb.io.apimachinery.runtime.scheme;

public class GroupKind {
    private String group;

    private String kind;

    public GroupKind(String group, String kind) {
        this.group = group;
        this.kind = kind;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }

    public boolean Empty() {
        return group.equals("") && kind.equals("");
    }

    @Override
    public String toString() {
        if (group.equals("")) {
            return kind;
        }
        return kind + "." + group;
    }
}
